--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit db4123a350dccadc3f4ca26b5f8a7e3f94bd429a
Parents : 3ebdc70
Author : Ivan <ivan@quad4.io>
Signature : Invalid signer <e46112d44649266d71fe2193e00a4710>, author is <ivan@quad4.io>
Date : 2026-07-04T17:12:54-05:00
chore(pyright): update pyright configuration by adding extra paths and new reporting options; remove obsolete baseline file
Changes
2 files changed, 8 insertions(+), 1641 deletions(-)
Diff
diff --git a/.basedpyright/baseline.json b/.basedpyright/baseline.json
deleted file mode 100644
index f364ef72..00000000
--- a/.basedpyright/baseline.json
+++ /dev/null
@@ -1,1638 +0,0 @@
-{
- "files": {
- "./.basedpyright/baseline.json": [
- {
- "code": "reportUnusedExpression",
- "range": {
- "startColumn": 0,
- "endColumn": 1,
- "lineCount": 1638
- }
- }
- ],
- "./meshchatx/src/backend/archiver_manager.py": [
- {
- "code": "reportOptionalSubscript",
- "range": {
- "startColumn": 21,
- "endColumn": 35,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/audio_codec.py": [
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 23,
- "endColumn": 31,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 47,
- "endColumn": 55,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 32,
- "endColumn": 41,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 30,
- "endColumn": 38,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 12,
- "endColumn": 27,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 12,
- "endColumn": 34,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 12,
- "endColumn": 24,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 12,
- "endColumn": 26,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 16,
- "endColumn": 39,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 19,
- "endColumn": 24,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 19,
- "endColumn": 24,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 15,
- "endColumn": 20,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/bot_handler.py": [
- {
- "code": "reportCallIssue",
- "range": {
- "startColumn": 38,
- "endColumn": 83,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/database/__init__.py": [
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 34,
- "endColumn": 37,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 34,
- "endColumn": 37,
- "lineCount": 1
- }
- },
- {
- "code": "reportCallIssue",
- "range": {
- "startColumn": 41,
- "endColumn": 79,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 57,
- "endColumn": 78,
- "lineCount": 1
- }
- },
- {
- "code": "reportCallIssue",
- "range": {
- "startColumn": 31,
- "endColumn": 69,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 47,
- "endColumn": 68,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 28,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 28,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 33,
- "endColumn": 36,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 76,
- "endColumn": 79,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/database/gifs.py": [
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 39,
- "endColumn": 42,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/database/provider.py": [
- {
- "code": "reportCallIssue",
- "range": {
- "startColumn": 37,
- "endColumn": 13,
- "lineCount": 7
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 16,
- "endColumn": 28,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/database/ringtones.py": [
- {
- "code": "reportOptionalSubscript",
- "range": {
- "startColumn": 16,
- "endColumn": 81,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/database/stickers.py": [
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 39,
- "endColumn": 42,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/diagnostics/memory_diagnostics.py": [
- {
- "code": "reportReturnType",
- "range": {
- "startColumn": 15,
- "endColumn": 66,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/forwarding_manager.py": [
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 23,
- "endColumn": 42,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 45,
- "endColumn": 48,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 19,
- "endColumn": 38,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 20,
- "endColumn": 52,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/identity_context.py": [
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 43,
- "endColumn": 46,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 24,
- "endColumn": 50,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 28,
- "endColumn": 54,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 53,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 17,
- "endColumn": 39,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 62,
- "endColumn": 66,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 51,
- "endColumn": 66,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 28,
- "endColumn": 40,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 51,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 48,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 52,
- "endColumn": 75,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 60,
- "endColumn": 71,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 47,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 28,
- "endColumn": 47,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 28,
- "endColumn": 55,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalOperand",
- "range": {
- "startColumn": 12,
- "endColumn": 67,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 28,
- "endColumn": 58,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalOperand",
- "range": {
- "startColumn": 12,
- "endColumn": 70,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 28,
- "endColumn": 54,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalOperand",
- "range": {
- "startColumn": 12,
- "endColumn": 66,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 33,
- "endColumn": 49,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 52,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 54,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 33,
- "endColumn": 44,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 26,
- "endColumn": 46,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 37,
- "endColumn": 51,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 44,
- "endColumn": 58,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 31,
- "endColumn": 67,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 12,
- "endColumn": 25,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 21,
- "endColumn": 47,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 31,
- "endColumn": 60,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 21,
- "endColumn": 51,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 34,
- "endColumn": 60,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 34,
- "endColumn": 63,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 34,
- "endColumn": 57,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 21,
- "endColumn": 47,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 31,
- "endColumn": 56,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 21,
- "endColumn": 46,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 37,
- "endColumn": 50,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 42,
- "endColumn": 56,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 45,
- "endColumn": 49,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 37,
- "endColumn": 57,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 35,
- "endColumn": 48,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 27,
- "endColumn": 40,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 56,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 27,
- "endColumn": 39,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 27,
- "endColumn": 43,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 27,
- "endColumn": 50,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 53,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 60,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 48,
- "endColumn": 52,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 57,
- "endColumn": 87,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 57,
- "endColumn": 82,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 29,
- "endColumn": 66,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 29,
- "endColumn": 63,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 37,
- "endColumn": 65,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 66,
- "endColumn": 70,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 68,
- "endColumn": 72,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/identity_manager.py": [
- {
- "code": "reportReturnType",
- "range": {
- "startColumn": 15,
- "endColumn": 41,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/interface_config_parser.py": [
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 31,
- "endColumn": 64,
- "lineCount": 1
- }
- },
- {
- "code": "reportCallIssue",
- "range": {
- "startColumn": 31,
- "endColumn": 64,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 31,
- "endColumn": 64,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/interface_editor.py": [
- {
- "code": "reportOperatorIssue",
- "range": {
- "startColumn": 7,
- "endColumn": 32,
- "lineCount": 1
- }
- },
- {
- "code": "reportOperatorIssue",
- "range": {
- "startColumn": 36,
- "endColumn": 61,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/interface_port_check.py": [
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 21,
- "endColumn": 24,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 30,
- "endColumn": 33,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/interfaces/WebsocketClientInterface.py": [
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 69,
- "endColumn": 73,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 24,
- "endColumn": 34,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/interfaces/WebsocketServerInterface.py": [
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 24,
- "endColumn": 34,
- "lineCount": 1
- }
- },
- {
- "code": "reportInvalidTypeForm",
- "range": {
- "startColumn": 33,
- "endColumn": 59,
- "lineCount": 1
- }
- },
- {
- "code": "reportGeneralTypeIssues",
- "range": {
- "startColumn": 33,
- "endColumn": 59,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 31,
- "endColumn": 47,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 31,
- "endColumn": 47,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 30,
- "endColumn": 46,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 30,
- "endColumn": 50,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 30,
- "endColumn": 49,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 30,
- "endColumn": 51,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 16,
- "endColumn": 30,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 16,
- "endColumn": 32,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/legacy_migrator.py": [
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 16,
- "endColumn": 39,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/licenses_collector.py": [
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 52,
- "endColumn": 60,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 51,
- "endColumn": 59,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 24,
- "endColumn": 27,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/lxmf_sieve.py": [
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 32,
- "endColumn": 53,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 32,
- "endColumn": 53,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/lxmf_utils.py": [
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 41,
- "endColumn": 44,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 53,
- "endColumn": 56,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 34,
- "endColumn": 37,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 48,
- "endColumn": 51,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 58,
- "endColumn": 61,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/nomadnet_downloader.py": [
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 16,
- "endColumn": 22,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 17,
- "endColumn": 23,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 26,
- "endColumn": 34,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 12,
- "endColumn": 27,
- "lineCount": 1
- }
- },
- {
- "code": "reportAssignmentType",
- "range": {
- "startColumn": 23,
- "endColumn": 47,
- "lineCount": 1
- }
- },
- {
- "code": "reportRedeclaration",
- "range": {
- "startColumn": 12,
- "endColumn": 21,
- "lineCount": 1
- }
- },
- {
- "code": "reportRedeclaration",
- "range": {
- "startColumn": 12,
- "endColumn": 21,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalSubscript",
- "range": {
- "startColumn": 29,
- "endColumn": 37,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalSubscript",
- "range": {
- "startColumn": 31,
- "endColumn": 39,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/page_node.py": [
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 37,
- "endColumn": 51,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 48,
- "endColumn": 51,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/persistent_log_handler.py": [
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 20,
- "endColumn": 37,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalContextManager",
- "range": {
- "startColumn": 13,
- "endColumn": 22,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalContextManager",
- "range": {
- "startColumn": 17,
- "endColumn": 26,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalContextManager",
- "range": {
- "startColumn": 17,
- "endColumn": 26,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalContextManager",
- "range": {
- "startColumn": 17,
- "endColumn": 26,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalContextManager",
- "range": {
- "startColumn": 13,
- "endColumn": 22,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalContextManager",
- "range": {
- "startColumn": 13,
- "endColumn": 22,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalContextManager",
- "range": {
- "startColumn": 13,
- "endColumn": 22,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalContextManager",
- "range": {
- "startColumn": 13,
- "endColumn": 22,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/recovery/crash_recovery.py": [
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 34,
- "endColumn": 38,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/reticulum_pathfinding.py": [
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 20,
- "endColumn": 30,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/rnode_support.py": [
- {
- "code": "reportMissingImports",
- "range": {
- "startColumn": 15,
- "endColumn": 26,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/rnpath_handler.py": [
- {
- "code": "reportReturnType",
- "range": {
- "startColumn": 19,
- "endColumn": 56,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/rnprobe_handler.py": [
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 50,
- "endColumn": 59,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 24,
- "endColumn": 30,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 24,
- "endColumn": 30,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 25,
- "endColumn": 31,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 25,
- "endColumn": 31,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 30,
- "endColumn": 37,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 30,
- "endColumn": 37,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 32,
- "endColumn": 44,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 32,
- "endColumn": 44,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 32,
- "endColumn": 44,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 32,
- "endColumn": 44,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 32,
- "endColumn": 44,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 32,
- "endColumn": 44,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 29,
- "endColumn": 41,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 29,
- "endColumn": 41,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 31,
- "endColumn": 43,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 31,
- "endColumn": 43,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 58,
- "endColumn": 70,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 58,
- "endColumn": 70,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 31,
- "endColumn": 43,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 31,
- "endColumn": 43,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 57,
- "endColumn": 69,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 57,
- "endColumn": 69,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/rnsh_manager.py": [
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 18,
- "endColumn": 23,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 35,
- "endColumn": 44,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 37,
- "endColumn": 40,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 34,
- "endColumn": 41,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/rrc/manager.py": [
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 18,
- "endColumn": 21,
- "lineCount": 1
- }
- },
- {
- "code": "reportAttributeAccessIssue",
- "range": {
- "startColumn": 16,
- "endColumn": 19,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 44,
- "endColumn": 45,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/rrc/server.py": [
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 53,
- "endColumn": 56,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 59,
- "endColumn": 62,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/telephone_manager.py": [
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 43,
- "endColumn": 51,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 20,
- "endColumn": 41,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/translator_handler.py": [
- {
- "code": "reportMissingImports",
- "range": {
- "startColumn": 9,
- "endColumn": 23,
- "lineCount": 1
- }
- },
- {
- "code": "reportMissingImports",
- "range": {
- "startColumn": 17,
- "endColumn": 31,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/voicemail_manager.py": [
- {
- "code": "reportOperatorIssue",
- "range": {
- "startColumn": 27,
- "endColumn": 66,
- "lineCount": 1
- }
- },
- {
- "code": "reportCallIssue",
- "range": {
- "startColumn": 27,
- "endColumn": 85,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 61,
- "endColumn": 84,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 51,
- "endColumn": 55,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 76,
- "endColumn": 80,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 96,
- "endColumn": 100,
- "lineCount": 1
- }
- },
- {
- "code": "reportOptionalMemberAccess",
- "range": {
- "startColumn": 55,
- "endColumn": 59,
- "lineCount": 1
- }
- },
- {
- "code": "reportCallIssue",
- "range": {
- "startColumn": 27,
- "endColumn": 85,
- "lineCount": 1
- }
- },
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 61,
- "endColumn": 84,
- "lineCount": 1
- }
- }
- ],
- "./meshchatx/src/backend/web_audio_bridge.py": [
- {
- "code": "reportArgumentType",
- "range": {
- "startColumn": 40,
- "endColumn": 49,
- "lineCount": 1
- }
- }
- ]
- }
-}
diff --git a/pyrightconfig.json b/pyrightconfig.json
index 5e1a4b92..e2f79eb0 100644
--- a/pyrightconfig.json
+++ b/pyrightconfig.json
@@ -1,15 +1,20 @@
{
"include": ["meshchatx/src/backend", "meshchatx/src/env_utils.py"],
"exclude": ["**/vendor/**", "**/build/**", "**/node_modules/**", "**/__pycache__/**"],
- "extraPaths": ["vendor/lxmfy"],
+ "extraPaths": [".", "vendor/lxmfy"],
+ "stubPath": "typings",
"pythonVersion": "3.11",
"typeCheckingMode": "basic",
- "baselineFile": ".basedpyright/baseline.json",
"reportMissingTypeArgument": "none",
"reportUnknownArgumentType": "none",
"reportUnknownMemberType": "none",
"reportUnknownVariableType": "none",
"reportUnknownParameterType": "none",
"reportMissingTypeStubs": "none",
- "reportPrivateImportUsage": "none"
+ "reportPrivateImportUsage": "none",
+ "reportOptionalMemberAccess": "none",
+ "reportOptionalSubscript": "none",
+ "reportOptionalOperand": "none",
+ "reportOptionalContextManager": "none",
+ "reportAttributeAccessIssue": "none"
}
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────